package cn.com.jonpad.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class HomeController {

	@GetMapping({"/", "/index", "/home"})
	public String root(){
		return "index";
	}

	@GetMapping("/login")
	public String login(){
		return "login";
	}

}
